/* 
 * File:   VentanaPrincipal.h
 * Author: nahuel
 *
 * Created on May 20, 2013, 8:24 PM
 */

#ifndef VENTANAPRINCIPAL_H
#define	VENTANAPRINCIPAL_H

#include <gtkmm-3.0/gtkmm/window.h>
#include <gtkmm-3.0/gtkmm/entry.h>
#include <gtkmm-3.0/gtkmm/builder.h>
#include <gtkmm-3.0/gtkmm/button.h>


class VentanaPrincipal : public Gtk::Window {
    private:
        Glib::RefPtr<Gtk::Builder> _builder;
        
        Gtk::Entry* _pathAu;
        Gtk::Entry* _intervaloPolling;
        
        Gtk::Entry* _ipServidor;
        Gtk::Entry* _puertoServidor;
        Gtk::Entry* _usuario;
        Gtk::Entry* _password;
        
        Gtk::Button* _botonSave;        

        std::string _userHome;
        
        void onSaveClick();
        void InitValues();
        
    public:
        VentanaPrincipal(BaseObjectType* cobject, const Glib::RefPtr<Gtk::Builder>& refGlade);
        virtual ~VentanaPrincipal();
};

#endif	/* VENTANAPRINCIPAL_H */

